/**  
 * All rights Reserved, Designed By www.beonelot.com
 * @Package: com.jinxin.platform.eleinspect.service.impl
 * @Filename: EleinspectItemsServiceImpl.java
 * @Description: TODO(EleinspectItemsService接口实现)
 * @author: 金鑫智慧
 * @date: 2020-03-30
 * @version: V1.0
 * @Copyright: 2020 www.beonelot.com Inc. All rights reserved.
 * 注意：本内容仅限于重庆金鑫智慧科技有限公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.jinxin.platform.cdelecinspect.service.impl;

import com.jinxin.platform.cdelecinspect.mapper.EleinspectItemsMapper;
import com.jinxin.platform.cdelecinspect.mapper.pojo.EleinspectItems;
import com.jinxin.platform.cdelecinspect.service.EleinspectItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * TODO(EleinspectItemsService接口实现)
 * @Classn: EleinspectItemsServiceImpl
 * @author Lynn
 * @date 2020-03-30
 */
@Service
public class EleinspectItemsServiceImpl implements EleinspectItemsService {
    @Autowired
    EleinspectItemsMapper eleinspectItemsMapper;

    @Override
    public List<EleinspectItems> listPage(HashMap param) {
        return eleinspectItemsMapper.listPage(param);
    }

    @Override
    public int listPageCount(HashMap param) {
        return eleinspectItemsMapper.listPageCount(param);
    }

    @Override
    public int insert(EleinspectItems eleinspectItems) {
        return eleinspectItemsMapper.insert(eleinspectItems);
    }

    @Override
    public int deleteByKey(String itemsId) {
        return eleinspectItemsMapper.deleteByKey(itemsId);
    }

    @Override
    public EleinspectItems selectOne(HashMap param) {
        return eleinspectItemsMapper.selectOne(param);
    }

    @Override
    public EleinspectItems selectByKey(String itemsId) {
        return eleinspectItemsMapper.selectByKey(itemsId);
    }

    @Override
    public int updateByKey(EleinspectItems eleinspectItems) {
        return eleinspectItemsMapper.updateByKey(eleinspectItems);
    }
}
